Use PEGetWindowHandle to retrieve the handle of the preview window. This function can be used in a Custom
HWND CRPE_API PEGetWindowHandle (
short printJob );
Specifies the print job for which you want to retrieve the preview window handle. If two or more preview windows are open, this function applies only to the most recently created preview window. |
This function can be used after PEStartPrintJob, and then, only if you have created a preview window.
Declare Function PEGetWindowHandle Lib "crpe32.dll" (
ByVal printJob As Integer ) As Long
function PEGetWindowHandle (
pr6intJob: Word
): HWnd stdcall;
EXTERN CHANDLE PEGetWindowHandle (CWORD) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |